package com.itheima.test1110work2;
//哺乳类 子类
public class Suckle extends Animal{
    private String play;
    private String iq;

    public Suckle(String kind, double weight, String play, String iq) {
        super(kind, weight);
        this.play = play;
        this.iq = iq;
    }
    public Suckle(){}

    public String getPlay() {
        return play;
    }

    public void setPlay(String play) {
        this.play = play;
    }

    public String getIq() {
        return iq;
    }

    public void setIq(String iq) {
        this.iq = iq;
    }
}
